#

# #if判断条件
# a=10
# babel=20
# if a>babel:
#      print("a>babel")
# else:
#      print("a<babel")
# if 5>3:
#     print("5>3")
#     print("5+3")
# else:
#     print("5<3")
# # elif 连续区间
# age=20
# if age<18:
#     print("未成年")
# elif age>=18 and age<35:
#     print("青年")
# elif age>=35 and age<60:
#     print("中年")
# else:
#     print("老年")
# #
# year=int(input("请输入年份："))
# if(year % 4 == 0 and year % 100 != 0)or(year%400==0):
#     print("%d是闰年" % year)
# else:
#     print("%d平年" % year)
# #abc比较大小
# a=int(input("请输入a："))
# b=int(input("请输入b："))
# c=int(input("请输入c："))
# if a>b :
#     if  a>c :
#         print("a最大")
#     else:
#         print("c最大")
# else:
#     if  b>c:
#         print("b最大")
#     else:
#         print("c最大")
#计算器



# random
#secret_number=random.randint(1,30)
#attempts=0
#while True:
    #try:
        #guess=int(input("caishuzi"))
        #attempts+=1

        # for i in range(1,10):
        #     for j in range(1,i+1):
        #         print(f'{j}x{i}={i*j}\t',end='')
        #         print()

        #打印水仙花数
        # for i in range(100,1000):
        #     a=i//100
        #     b=i//10%10
        #     c=i%10
        #     if a**3+b**3+c**3==i:
        #         print(i)

                #打印100以内的质数
                # for i in range(2,101):
                #     for j in range(2,i):
                #         if i%j==0:
                #             break
                #     else:
                #         print(i)
                #         #打印100以内的合数
                #         for i in range(2,101):
                #             for j in range(2,i):
                #                 if i%j==0:
                #                     print(i)
                #                     break